<template>
  <div class="mod-pay">
    <allinpayConfig ref="allinpay" />
    <shopWithdraw
      v-if="paySettlementType===1"
      ref="shopWithdraw"
    />
    <userWithdraw
      v-if="paySettlementType===1"
      ref="userWithdraw"
    />
  </div>
</template>

<script setup>
import allinpayConfig from './components/allinpay-config.vue'
import shopWithdraw from './components/shop-withdraw-config.vue'
import userWithdraw from './components/user-withdraw-config.vue'

const allinpayStore = useAllinpayStore()
const paySettlementType = computed(() => {
  return allinpayStore.paySettlementType
})
</script>

<style lang="scss" scoped>

</style>
